﻿using System;
using System.Runtime.CompilerServices;
using System.Windows.Browser;

namespace Helper
{
    public class MessageEventArgs : EventArgs
    {
        public MessageEventArgs(string sender, string receiver, string message, string response, string error)
        {
            this.Sender = sender;
            this.Receiver = receiver;
            this.Message = message;
            this.Response = response;
            this.Error = error;
        }

        [ScriptableMember]
        public string Error { get; set; }

        [ScriptableMember]
        public string Message { get; set; }

        [ScriptableMember]
        public string Receiver { get; set; }

        [ScriptableMember]
        public string Response { get; set; }

        [ScriptableMember]
        public string Sender { get; set; }
    }
}

